﻿using System;
using System.Data.SqlClient;
using System.Data;

namespace Elegant2.Persistence
{
    interface ITransferObject
    {
        void connect();
        DataSet doQuery(string query);
        void endTransaction();
        int executeQuery(string query);
        int getLastInsertedId();
        int getRowsNumber(DataSet ds);
        SqlCommand prepareCommand(string query);
        void startTransaction();
    }
}
